package com.ruoyi.projects.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员排期对象 sl_schedules
 * 
 * @author ruoyi
 * @date 2025-04-21
 */
public class SlSchedules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer sId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long customId;
    private String customerName;

    /**间隔天数*/
    @Excel(name = "间隔天数")
    private Long intervalDays;

    /**会员卡id*/
    @Excel(name = "会员卡Id")
    private Long cardId;

    /** 项目ids */
    @Excel(name = "项目ids")
    private String productIds;
    private String productNames;

    /** 排期日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排期日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date schedulesTime;

    /** 推送状态(0：未推送，1:已推送) */
    @Excel(name = "推送状态(0：未推送，1:已推送)")
    private String pushState;

    public String getProductNames() {
        return productNames;
    }

    public void setProductNames(String productNames) {
        this.productNames = productNames;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Long getIntervalDays() {
        return intervalDays;
    }

    public void setIntervalDays(Long intervalDays) {
        this.intervalDays = intervalDays;
    }

    public void setsId(Integer sId)
    {
        this.sId = sId;
    }

    public Integer getsId() 
    {
        return sId;
    }
    public void setCustomId(Long customId) 
    {
        this.customId = customId;
    }

    public Long getCustomId() 
    {
        return customId;
    }
    public void setProductIds(String productIds) 
    {
        this.productIds = productIds;
    }

    public String getProductIds() 
    {
        return productIds;
    }
    public void setSchedulesTime(Date schedulesTime) 
    {
        this.schedulesTime = schedulesTime;
    }

    public Date getSchedulesTime() 
    {
        return schedulesTime;
    }
    public void setPushState(String pushState) 
    {
        this.pushState = pushState;
    }

    public String getPushState() 
    {
        return pushState;
    }

    public Long getCardId() {
        return cardId;
    }

    public void setCardId(Long cardId) {
        this.cardId = cardId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sId", getsId())
            .append("customId", getCustomId())
            .append("productIds", getProductIds())
            .append("schedulesTime", getSchedulesTime())
            .append("pushState", getPushState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
